<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>预定义常量</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="paradox.resources.html">资源类型</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ref.paradox.html">Paradox 函数</a></div>
 <div class="up"><a href="book.paradox.html">Paradox</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="paradox.constants" class="appendix">
 <h1>预定义常量</h1>

 <p class="simpara">下列常量由此扩展定义，且仅在此扩展编译入 PHP 或在运行时动态载入时可用。</p>
 <p class="para">
  The following two tables lists all constants defined by the paradox
  extension.
  <table id="paradox.table-fieldtypes" class="doctable table">
   <caption><strong>Contants for field types</strong></caption>
   
    <thead>
     <tr>
      <th>Name</th>
      <th>Meaning</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td>PX_FIELD_ALPHA</td>
      <td>Character data with fixed length</td>
     </tr>

     <tr>
      <td>PX_FIELD_DATE</td>
      <td>Date, number of days since 1.1.0000</td>
     </tr>

     <tr>
      <td>PX_FIELD_SHORT</td>
      <td>Short integer (2 Bytes)</td>
     </tr>

     <tr>
      <td>PX_FIELD_LONG</td>
      <td>Long integer (4 Bytes)</td>
     </tr>

     <tr>
      <td>PX_FIELD_CURRENCY</td>
      <td>same as PX_FIELD_NUMBER</td>
     </tr>

     <tr>
      <td>PX_FIELD_NUMBER</td>
      <td>Double</td>
     </tr>

     <tr>
      <td>PX_FIELD_LOGICAL</td>
      <td>Boolean</td>
     </tr>

     <tr>
      <td>PX_FIELD_MEMOBLOB</td>
      <td>Binary large object</td>
     </tr>

     <tr>
      <td>PX_FIELD_BLOB</td>
      <td>Binary large object (not supported)</td>
     </tr>

     <tr>
      <td>PX_FIELD_FMTMEMOBLOB</td>
      <td>Binary large object</td>
     </tr>

     <tr>
      <td>PX_FIELD_OLE</td>
      <td>OLE object (basically a blob, not supported)</td>
     </tr>

     <tr>
      <td>PX_FIELD_GRAPHIC</td>
      <td>Graphic (basically a blob, not supported)</td>
     </tr>

     <tr>
      <td>PX_FIELD_TIME</td>
      <td>time, number of milli seconds since midnight</td>
     </tr>

     <tr>
      <td>PX_FIELD_TIMESTAMP</td>
      <td>timestamp, number of milli seconds since 1.1.0000 </td>
     </tr>

     <tr>
      <td>PX_FIELD_AUTOINC</td>
      <td>Auto incrementing interger (like PX_FIELD_LONG)</td>
     </tr>

     <tr>
      <td>PX_FIELD_BCD</td>
      <td>Decimal number stored in bcd format (not supported)</td>
     </tr>

     <tr>
      <td>PX_FIELD_BYTES</td>
      <td>Array of Bytes with not more than 255 bytes (not supported)</td>
     </tr>

     <tr>
      <td>PX_KEYTOLOWER</td>
      <td>Turn all field names into lower case</td>
     </tr>

     <tr>
      <td>PX_KEYTOUPPER</td>
      <td>Turn all field names into upper case</td>
     </tr>

    </tbody>
   
  </table>

  <table id="paradox.table-filetypes" class="doctable table">
   <caption><strong>Contants for file types</strong></caption>
   
    <thead>
     <tr>
      <th>Name</th>
      <th>Meaning</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td>PX_FILE_INDEX_DB</td>
      <td>Indexed database</td>
     </tr>

     <tr>
      <td>PX_FILE_PRIM_INDEX</td>
      <td>Primary index</td>
     </tr>

     <tr>
      <td>PX_FILE_NON_INDEX_DB</td>
      <td>None indexed database</td>
     </tr>

     <tr>
      <td>PX_FILE_NON_INC_SEC_INDEX</td>
      <td>None incremental secondary index</td>
     </tr>

     <tr>
      <td>PX_FILE_SEC_INDEX</td>
      <td>Secondary index</td>
     </tr>

     <tr>
      <td>PX_FILE_INC_SEC_INDEX</td>
      <td>Incremental secondary index</td>
     </tr>

     <tr>
      <td>PX_FILE_NON_INC_SEC_INDEX_G</td>
      <td>Non incremental secondary index</td>
     </tr>

     <tr>
      <td>PX_FILE_SEC_INDEX_G</td>
      <td>Secondary index</td>
     </tr>

     <tr>
      <td>PX_FILE_INC_SEC_INDEX_G</td>
      <td>Non incremental secondary index</td>
     </tr>

    </tbody>
   
  </table>

 </p>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="paradox.resources.html">资源类型</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ref.paradox.html">Paradox 函数</a></div>
 <div class="up"><a href="book.paradox.html">Paradox</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
